package com.ztman.service.work.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ztman.basic.base.service.SuperService;
import com.ztman.service.work.dto.WorkOrderInfoPageQuery;
import com.ztman.service.work.entity.WorkOrderInfo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务接口
 *
 * </p>
 *
 * @author wsd
 * @date 2021-08-23
 */
public interface WorkOrderInfoService extends SuperService<WorkOrderInfo> {

    IPage<WorkOrderInfoPageQuery> pageType(IPage<Object> page, WorkOrderInfoPageQuery model);

    WorkOrderInfoPageQuery getWorkOrderInfoById(Long work_order_id);


    List<Map<String, Object>> workOrderRank(Date date0000, Date date2359);

    List<Map<String, Object>>  DateRangeStatistics(Date date0000, Date date2359);

    List<Map<String, Object>>  HandlePersonRank(Date date0000, Date date2359);

    List<Map<String, Object>>  HandlePeriodRank(Date date0000, Date date2359);
}
